using System;
using System.Collections.Generic;
using System.Text;

namespace KNCApp.Business.Models
{
    public class Pilot: AbstractObj
    {
        public string FullName
        {
            get { return FirstName + " " + LastName; }
        }
	
        public Pilot()
        { }

        public Pilot(int id, string f, string l, DateTime dt)
        {
            ID = id;
            _firstname = f;
            _lastname = l;
            DoB = dt;
        }

        private string     _firstname;
        public string      FirstName
        {
            get
            {return _firstname;}
            set
            {_firstname = value;}
        }

        private string     _lastname;
        public string      LastName
        {
            get
            {return _lastname;}
            set
            {_lastname = value;}
        }
        private DateTime _dob;

        public DateTime DoB
        {
            get { return _dob; }
            set { _dob = value; }
        }
    }
}
